from flask import Flask
from flask_siwadoc import SiwaDoc
app = Flask(__name__)

siwa = SiwaDoc(app)

@app.route('/')
@siwa.doc(description="hello world", tags=["hello"], summary="hello world")
def hello_world():  # put application's code here
    return 'Hello World!'

@app.route('/index')
@siwa.doc(description="index", tags=["hello"], summary="index")
def index():  # put application's code here
    return 'Hello World!'

@app.route('/test')
@siwa.doc(description="test", tags=["test"], summary="hello world")
def test():  # put application's code here
    return 'Hello World!'


if __name__ == '__main__':
    app.run()
